package com.usian.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.article.dtos.ArticleHomeDto;
import com.usian.model.article.dtos.ArticleInfoDto;
import com.usian.model.article.pojos.ApArticle;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.mess.app.ArticleVisitStreamMess;


public interface ApArticleService extends IService<ApArticle> {
    ResponseResult load(ArticleHomeDto dto, Short loadtype);

    ResponseResult loadHotArticle(ArticleHomeDto dto, Short loadtype,boolean isFirstPage);



    ResponseResult loadArticleInfo(ArticleInfoDto dto);

    ResponseResult loadArticleBehavior(ArticleInfoDto dto);

    void handleHotArticle(ArticleVisitStreamMess mess);
}
